package cn.haoheng.org.service;

<<<<<<< HEAD
import cn.haoheng.basic.utils.PageList;
import cn.haoheng.org.domain.Department;
=======
import cn.haoheng.basic.util.PageList;
import cn.haoheng.org.domain.Depatment;
>>>>>>> cd5623cea15a20bb5abe36234dd14ce32c51e741
import cn.haoheng.org.query.DepartmentQuery;

import java.util.List;

<<<<<<< HEAD
public interface IDepartmentService {
    //添加一条记录
    void add(Department department);
    //修改一条记录
    void update(Department department);
    //删除一条记录
    void remove(Long id);
    //获取一条记录
    Department queryById(Long id);
    //查询所有记录
    List<Department> queryAll();

    //分页+高级查询
    PageList queryPage(DepartmentQuery query);
}
=======

public interface IDepartmentService {
    void add(Depatment depatment);
    //修改一条记录
    void update(Depatment depatment);
    void remove(Long id);
    Depatment queryById(Long id);
    List<Depatment>queryAll();
    PageList queryPage(DepartmentQuery query);
}

>>>>>>> cd5623cea15a20bb5abe36234dd14ce32c51e741
